import React from 'react';
import { Base } from '../base';
import { get_path } from 'base/ctl/base';
import { InClient } from './in/view';

const ClientView = ({ wsn, line }) => <InClient line={line} wsn={wsn}/>;

const GoodsInClient = ({ pathname, mod }) => {
    const [line, wsn] = get_path(pathname, mod);

    return (
        <Base wsn={wsn} line={line}>
            <ClientView wsn={wsn} line={line}/>
        </Base>
    );
};

export {GoodsInClient};
